package com.isoft.hospital.entity;

public class Medicine {
    private Integer m_id;
    private String m_name;
    private String  c_time;
    private String  r_time;
    private String stock;
    private String valid;
    private Double price;

    public Medicine() {
    }

    public Medicine(Integer m_id, String m_name, String c_time, String r_time, String stock, String valid, Double price) {
        this.m_id = m_id;
        this.m_name = m_name;
        this.c_time = c_time;
        this.r_time = r_time;
        this.stock = stock;
        this.valid = valid;
        this.price = price;
    }

    public Integer getM_id() {
        return m_id;
    }

    public void setM_id(Integer m_id) {
        this.m_id = m_id;
    }

    public String getM_name() {
        return m_name;
    }

    public void setM_name(String m_name) {
        this.m_name = m_name;
    }

    public String getC_time() {
        return c_time;
    }

    public void setC_time(String c_time) {
        this.c_time = c_time;
    }

    public String getR_time() {
        return r_time;
    }

    public void setR_time(String r_time) {
        this.r_time = r_time;
    }

    public String getStock() {
        return stock;
    }

    public void setStock(String stock) {
        this.stock = stock;
    }

    public String getValid() {
        return valid;
    }

    public void setValid(String valid) {
        this.valid = valid;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Medicine{" +
                "m_id=" + m_id +
                ", m_name='" + m_name + '\'' +
                ", c_time='" + c_time + '\'' +
                ", r_time='" + r_time + '\'' +
                ", stock='" + stock + '\'' +
                ", valid='" + valid + '\'' +
                ", price=" + price +
                '}';
    }
}
